import request from '@/utils/request'

// 根据角色ID获取已分配用户列表
export function getUserIdListByRoleId(roleId) {
  return request({
    url: '/auth/role/user/getUserIdListByRoleId/' + roleId,
    method: 'get'   
  })
};

// 分配用户
export function assignmentUser(data) {
  return request({
    url: '/auth/role/user/assignmentUser',
    method: 'post',
    data
  })
};
